import com.sun.org.apache.xerces.internal.dom.PSVIAttrNSImpl;
import oracle.jrockit.jfr.openmbean.ProducerDescriptorType;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/4/8 9:03
 * @description:
 */
public class Shizu {

  public static void main(String[] args) {
    Product p1=new Product();
    p1.setname("茶叶蛋");
    Product p2=new Product();
    p2.setname("酸奶");
    Market market = new Market();
    market.setName("十足");
    Product [] p ={p1,p2};
    market.setProducts(p);
    Product p3=new Product();
    p3.setName("作业");
    hello hello=new hello();
    hello.setName("小王");
    hello.shopping(market,p1);
    hello.shopping(market,p3);
  }
}
